The Alldifferent Constraint: Exploiting Strongly-connected Components and Other Efficiency Measures

نویسنده

  • IAN P. GENT
چکیده

The AllDifferent constraint is a crucial component of any constraint toolkit, language or solver, since it is very widely used in a variety of constraint models. The literature contains many different versions of this constraint, which trade strength of inference against computational cost. In this paper, we focus on the highest strength of inference (enforcing a property known as generalised arc consistency GAC), and propose several new variants of the AllDifferent constraint propagation algorithm that achieve this. Most importantly, we improve incrementality by exploiting the strongly-connected components discovered during the standard propagation process, and improve efficiency by triggering the propagation process less often. We perform an extensive empirical evaluation of the new variants of AllDifferent versus existing GAC algorithms, as well as a fast AllDifferent algorithm that does less propagation. The results confirm the value of our new variants, which can improve run-times over the state-of-the-art by over five times.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Generalised arc consistency for the AllDifferent constraint: An empirical survey

The AllDifferent constraint is a crucial component of any constraint toolkit, language or solver, since it is very widely used in a variety of constraint models. The literature contains many different versions of this constraint, which trade strength of inference against computational cost. In this paper, we focus on the highest strength of inference, enforcing a property known as generalised a...

متن کامل

Faster Algorithms for Bound-Consistency of the Sortedness and the Alldifferent Constraint

We present narrowing algorithms for the sortedness and the alldifferent constraint which achieve bound-consistency. The algorithm for the sortedness constraint takes as input 2n intervals X1, . . . , Xn, Y1, . . . , Yn from a linearly ordered set D. Let S denote the set of all tuples t ∈ X1 × · · · × Xn × Y1 × · · · × Yn such that the last n components of t are obtained by sorting the first n c...

متن کامل

More Robust Counting-Based Search Heuristics with Alldifferent Constraints

Exploiting solution counting information from individual constraints has led to some of the most efficient search heuristics in constraint programming. However, evaluating the number of solutions for the alldifferent constraint still presents a challenge: even though previous approaches based on sampling were extremely effective on hard instances, they are not competitive on easy to medium diff...

متن کامل

Analysis on Components Complexity During Execution of Construction Projects

Development is the fundamental area in enabling India`s economy and urban and provincial structure. Development is a multi-connected structure where all variables are bury connected and multi-centered. All the three limitations time, expense and quality ought to be adjusted in an improved way, so that no segment gets influenced by dismissing those. The goal of this study is to distinguish the m...

متن کامل

Solving finite-domain linear constraints in presence of the $\texttt{alldifferent}$

In this paper, we investigate the possibility of improvement of the widelyused filtering algorithm for the linear constraints in constraint satisfaction problems in the presence of the alldifferent constraints. In many cases, the fact that the variables in a linear constraint are also constrained by some alldifferent constraints may help us to calculate stronger bounds of the variables, leading...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008